﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;

namespace EveLogMonitor
{
    class SubstringFileMonitor : FileMonitor
    {
        public SubstringFileMonitor(String filePath, List<String> filterStrings) : base(filePath, filterStrings) { }

        internal override bool Matches(string line, string filter)
        {
            return line.IndexOf(filter, StringComparison.OrdinalIgnoreCase) >= 0;
        }
    }
}
